package com.uobgroup.ews.uam.core.dao;

import java.util.List;

import com.uobgroup.ews.uam.core.domain.Reference;
import com.uobgroup.ews.uam.core.domain.RoleSubType;



public interface RoleSubTypeDao extends GenericDao<RoleSubType> {

	
	public long count();	   
	
	public List<RoleSubType> findAll(int firstResult, int maxResults);

	public List<RoleSubType> findByRoleTypeID(Long roletypeID);
	public Boolean CheckIsUse(Long roleSubTypeId);
	
   /**
    * @author dongn
    */
	public long countRoleSubTypeThatHasRoleTypeReference(Reference roleType);
}
